com.inscoper.api.RecipeElement¶
RecipeElement class is the abstract base class for all recipe elements. More...
Inherited by com.inscoper.api.RecipeElementEvent, com.inscoper.api.RecipeElementGroup, com.inscoper.api.RecipeElementSimple
Public Functions¶
| Name | |
|---|---|
| synchronized void | delete() |
| void | fromXML(XMLNode xml) Load from XML. |
| void | toXML(XMLNode xmlParent) Save to XML. |
| ERecipeElementType | getType() Get the recipe element type. |
| int | getRealType() |
| RecipeElement | createProxy(long cPtr, boolean cMemoryOwn) |
| RecipeElementSimple | castToRecipeElementSimple(RecipeElement recipeElement) |
| RecipeElementGroup | castToRecipeElementGroup(RecipeElement recipeElement) |
| RecipeElementEvent | castToRecipeElementEvent(RecipeElement recipeElement) |
Protected Functions¶
| Name | |
|---|---|
| RecipeElement(long cPtr, boolean cMemoryOwn) | |
| void | swigSetCMemOwn(boolean own) |
| void | finalize() |
| long | getCPtr(RecipeElement obj) |
Detailed Description¶
RecipeElement class is the abstract base class for all recipe elements.
Defines the common interface for elements that can be part of a recipe.
Public Functions Documentation¶
function delete¶
Reimplemented by: com.inscoper.api.RecipeElementEvent.delete, com.inscoper.api.RecipeElementGroup.delete, com.inscoper.api.RecipeElementSimple.delete
function fromXML¶
Load from XML.
Parameters:
- xml : The XML node containing recipe element information
Exceptions:
- InscoperException If an error occurs
Reimplemented by: com.inscoper.api.RecipeElementEvent.fromXML, com.inscoper.api.RecipeElementGroup.fromXML, com.inscoper.api.RecipeElementSimple.fromXML
Populates the recipe element information from an XML node.
function toXML¶
Save to XML.
Parameters:
- xmlParent : The parent XML node
Exceptions:
- InscoperException If an error occurs
Reimplemented by: com.inscoper.api.RecipeElementEvent.toXML, com.inscoper.api.RecipeElementGroup.toXML, com.inscoper.api.RecipeElementSimple.toXML
Exports the recipe element information to an XML node attached to the parent XML node.
function getType¶
Get the recipe element type.
Return: The type of the recipe element
Reimplemented by: com.inscoper.api.RecipeElementEvent.getType, com.inscoper.api.RecipeElementGroup.getType, com.inscoper.api.RecipeElementSimple.getType
Retrieves the type of the recipe element.
function getRealType¶
function createProxy¶
function castToRecipeElementSimple¶
function castToRecipeElementGroup¶
function castToRecipeElementEvent¶
Protected Functions Documentation¶
function RecipeElement¶
function swigSetCMemOwn¶
Reimplemented by: com.inscoper.api.RecipeElementEvent.swigSetCMemOwn, com.inscoper.api.RecipeElementGroup.swigSetCMemOwn, com.inscoper.api.RecipeElementSimple.swigSetCMemOwn
function finalize¶
Reimplemented by: com.inscoper.api.RecipeElementEvent.finalize, com.inscoper.api.RecipeElementGroup.finalize, com.inscoper.api.RecipeElementSimple.finalize
function getCPtr¶
Updated on 2026-04-02 at 10:55:38 +0200